package com.auction.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.models.auth.In;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@ApiModel("商品的寄售")
@TableName("product_info")
public class ProductInfo {

    @TableId(type = IdType.AUTO)
    Integer id;
    Integer p_id;
    String blemish;
    String sale_time;
    String create_time;
    String update_time;
    double price;
    Integer buy_id;
    String buy_name;
    Integer sale_id;

}
